package com.jy.rhin.domain.document.node;

import com.jy.rhin.infra.repo.node.po.NodeAuthenticationPermissionRelationPo;

import java.util.List;

/**
 *
 */
public interface NodeAuthenticationPermissionRelationDao {

    /**
     * 查询节点权限列表
     * @return
     */

    List<NodeAuthenticationPermissionRelationPo> getPermissionListByNodeId(Long nodeId);


    Boolean save(List<NodeAuthenticationPermissionRelationPo> nodeAuthenticationPermissionRelationPoList);
    
    int getPermissionByPkAndCode(String publicKey,String action);

}
